//
//  main.m
//  C++OC
//
//  Created by chenyh on 2021/2/19.
//

#import <Foundation/Foundation.h>
#import "Greeting.h"


int main(int argc, const char * argv[]) {

    // insert code here...
    Greeting *greeting = [[Greeting alloc] init];
    [greeting sayGreeting];
    Hello *hello = new Hello("Bonjour, monde!");
    [greeting sayGreeting:hello];
    delete hello;
    
    return 0;
}
